<%--
  Created by IntelliJ IDEA.
  User: 32988
  Date: 2018/4/23
  Time: 14:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = "http://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + request.getServletPath().substring(0, request.getServletPath().lastIndexOf("/") + 1);
%>

<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="../js/jquery-easyui-1.5.5/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="../js/jquery-easyui-1.5.5/themes/icon.css">
    <script type="text/javascript" src="js/jquery-easyui-1.5.5/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-easyui-1.5.5/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/easyui-common-utils.js"></script>
    <script type="text/javascript" src="js/show.js"></script>
</head>
<%--<form id="fileUploadForm" class="easyui-form" method="post"  data-options="novalidate:false"  enctype="multipart/form-data">
    <p>选择文件:<input type="file" name="imgFiles"></p>
    <p>选择文件:<input type="file" name="imgFiles"></p>
    <p>选择文件:<input type="file" name="imgFiles"></p>

    <p>选择文件:<input type="file" name="faceFiles"></p>
    <p>选择文件:<input type="file" name="faceFiles"></p>
    <p>选择文件:<input type="file" name="faceFiles"></p>
</form>--%>
<body>
<div id="cc" class="easyui-layout" data-options="fit:true">
    <div data-options="region:'west',title:'West',split:true" style="width:300px;">
        <div class="search-wrap">
            <form id="infoManagerSearchForm" class="search-tit">
                <label>身份证:</label>
                <input id="status" class="easyui-combobox"
                        data-options="valueField:'id',textField:'text',editable:false,panelHeight:'auto'"
                        name="status" style="height: 30px;width:170px;">
                </input>
                <a href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="query()">Query</a>
            </form>
        </div>
    </div>
     <div data-options="region:'center',title:'center title'" style="padding:5px;background:#eee;">
         <div class="search-wrap">
         <table id="dg_img" class="easyui-datagrid" style="height:600px" data-options="
           url :basePath +'userTz/queryUserFaceInfo.do',
           rownumbers:true,
           singleSelect:true,
           pagination:true,
           pageSize:20,
           pageList:[20,40,80],
            ">
             <thead>
             <tr>
                 <th data-options="field:'ck',checkbox:true"></th>
                 <th data-options="field:'name'">名字</th>
                 <th data-options="field:'csny',width:85">生日</th>
                 <th data-options="field:'address',width:85">地址</th>
                 <th data-options="field:'idcard',width:85">身份证</th>
                 <th data-options="field:'sex',width:85">性别</th>
                 <th data-options="field:'icon',width:500,height:500, formatter:showImg">图标</th>
             </tr>
             </thead>
         </table>

</div>
</body>
<script type="text/javascript">
    var basePath = '<%= basePath%>';
    $('#tableDiv').css("height", 500);

</script>
</html>